import {defineStore} from 'pinia'
import { ref } from 'vue'

// 定义地址 store
export const useAddressStore = defineStore('address', () => {
  // 地址信息
  const address = ref(null)
  
  // 清除地址信息
  function clearAddress() {
    address.value = null
  }
  
  return { address, clearAddress }
})
